- 
		Home
	
 
	- 
LiteSpeed Cache
 
- 
7.5.0.1
 
- 
Code
 
- 
Classes
 
-  Utility 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											153 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											31 | 
										
																	
							 
													
								
																			
											| Total lines | 
											945 | 
										
																			
											| Lines of code | 
											538 | 
										
																			
											| Logical lines of code | 
											356 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											281 | 
										
																			
											| Methods | 
											31 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 31
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| str_hit_array() | 
									B  | 
																	43 | 
													17 | 
													50 | 
							
					
				| build_url() | 
									A  | 
																	41 | 
													14 | 
													56 | 
							
					
				| sanitize_lines() | 
									A  | 
																	43 | 
													14 | 
													51 | 
							
					
				| page_type() | 
									A  | 
																	47 | 
													15 | 
													34 | 
							
					
				| readable_time() | 
									A  | 
																	45 | 
													13 | 
													43 | 
							
					
				| is_internal_file() | 
									A  | 
																	45 | 
													12 | 
													40 | 
							
					
				| srcset_replace() | 
									S  | 
																	49 | 
													7 | 
													29 | 
							
					
				| prepare_image_sizes_array() | 
									S  | 
																	53 | 
													6 | 
													23 | 
							
					
				| internal() | 
									S  | 
																	55 | 
													6 | 
													20 | 
							
					
				| pagination() | 
									S  | 
																	52 | 
													5 | 
													23 | 
							
					
				| real_size() | 
									S  | 
																	59 | 
													5 | 
													13 | 
							
					
				| ping() | 
									S  | 
																	55 | 
													3 | 
													19 | 
							
					
				| arr2regex() | 
									S  | 
																	60 | 
													3 | 
													13 | 
							
					
				| wildcard2regex() | 
									S  | 
																	63 | 
													3 | 
													10 | 
							
					
				| url2uri() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| parse_domain() | 
									S  | 
																	63 | 
													3 | 
													10 | 
							
					
				| arr2str() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| parse_attr() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| uri2url() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| drop_webp() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| att_short_path() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| make_relative() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| noprotocol() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| domain_const() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| parse_url_safe() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| syntax_checker() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| is_rest() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| compatibility() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| basename() | 
									S  | 
																	69 | 
													1 | 
													6 | 
							
					
				| valid_ipv4() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| chunk_placeholder() | 
									S  | 
																	63 | 
													1 | 
													10 |